package cn.zjk.springframework.beans.factory.config;

/**
 * @author zjk
 * @CreateTime 2023/3/18 0:59
 */
public interface SingletonBeanRegistry {
    /**
     * 获取单例对象
     * @param beanName
     * @return
     */
    Object getSingleton(String beanName);
    void registerSingleton(String beanName, Object singletonObject);
}
